package cn.v2tila.rsosa.student.service;

import cn.v2tila.rsosa.student.entity.FollowEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author v2tila on 23:57 2019/3/26
 */
@Service
public interface FollowService {
    List<FollowEntity> findByUniqueId(String uniqueId);

    FollowEntity saveAndFlush(FollowEntity followEntity);

    boolean existsByUniqueIdAndZpxxId(String uniqueId,Integer zpxxId);

    FollowEntity findByUniqueIdAndZpxxId(String uniqueId,Integer zpxxId);

    void delete(FollowEntity followEntity);
}
